package com.iflysse.dao;

import org.apache.ibatis.annotations.Select;

import com.iflysse.entity.Teacher;

public interface TeacherDao {


    /**
     * 根据账号编号查询教师信息
     * @param accountId
     * @return
     */
    @Select("select * from tb_teacher where account_id = #{accountId}")
    Teacher getTeacherByAccountId(String accountId);

    /**
     * 根据教师ID查询教师信息
     * @param accoteacherIduntId
     * @return
     */
    @Select("select * from tb_teacher where teacher_id = #{teacherId}")
    Teacher getTeacherByTeacherId(String teacherId);

}
